package com.zdlee.netty.server11.server.handler.inbound;

import io.netty.channel.ChannelHandlerContext;
import io.netty.channel.ChannelInboundHandlerAdapter;

/**
 * @author zdlee
 * @description: ${DESCRIPTION}
 * @create 2018-11-29 15:38
 */
public class InBoundHandlerC extends ChannelInboundHandlerAdapter {

    @Override
    public void channelRead(ChannelHandlerContext ctx, Object msg) throws Exception {
        System.out.println("InBoundHandlerC: " + msg);

        ctx.channel().writeAndFlush(msg);

    }
}
